package edu.lingnan.lmlibrary.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("学生信息")
public class Student {
    @JsonProperty("no")
    @ApiModelProperty("学号")
    private String no;

    @JsonProperty("name")
    @ApiModelProperty("姓名")
    private String name;

    @JsonProperty("password")
    @ApiModelProperty("密码")
    private String password;
}
